﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace lcs.Web.out_storage_detail
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int out_storage_detail_Id=(Convert.ToInt32(strid));
					ShowInfo(out_storage_detail_Id);
				}
			}
		}
		
	private void ShowInfo(int out_storage_detail_Id)
	{
		lcs.BLL.out_storage_detail bll=new lcs.BLL.out_storage_detail();
		lcs.Model.out_storage_detail model=bll.GetModel(out_storage_detail_Id);
		this.lblout_storage_detail_Id.Text=model.out_storage_detail_Id.ToString();
		this.lblout_storage_id.Text=model.out_storage_id.ToString();
		this.lblmaterial_id.Text=model.material_id.ToString();
		this.lblmaterial_detail_id.Text=model.material_detail_id;
		this.lbluse_projectname.Text=model.use_projectname;
		this.lblreceive_address.Text=model.receive_address;
		this.lblreceive_userName.Text=model.receive_userName;
		this.lblreceive_userPhone.Text=model.receive_userPhone;
		this.lblreceive_time.Text=model.receive_time.ToString();
		this.lblop_uid.Text=model.op_uid.ToString();
		this.lblremark.Text=model.remark;

	}


    }
}
